package com.itheima.service;

import com.itheima.bean.User;

public interface UserService {


    /**
     * 根据电话号码来查询用户信息
     * @param phone
     * @return
     */
    User findUser(String phone);


    /**
     * 添加用户到数据库
     * @param user
     * @return
     */
    int addUser(User user);
}
